package edu.sctu.zhuyingzhi.month201504.day20150430.SonToFather;

/**
 * Created by user13 on 2015/4/30.
 */
public class Main {
    public static void main(String[] args) {
        Sun sun=new Sun();
        Father father=sun;
        callF(father);
        callF(new Sun());
    }
    public static void callF(Father father) {
        father.func1();
        father.func2();
    }
}
